#include <stdio.h>
#include <stdint.h>
#include "ca_module.h"

#define TEST_ID 0x3000

static void test_module_init(void);
static void test_module_deinit(void);
static void test_ecm_arrived(uint8_t *section, int types, short pid);
static void test_emm_arrived(uint8_t *section);

ca_module_t this_ca_module = {
  .system_id = TEST_ID,

  .module_init = test_module_init,
  .module_deinit = test_module_deinit,

  .on_ecm_arrived = test_ecm_arrived,
  .on_emm_arrived = test_emm_arrived,
};

static void
test_module_init(void)
{
}

static void
test_module_deinit(void)
{
}

static void
test_ecm_arrived(uint8_t *section, int types, short pid)
{
  printf("%s\n", __func__);
}

static void
test_emm_arrived(uint8_t *section)
{
  printf("%s\n", __func__);
}

